﻿using System;
using System.Collections.Generic;

namespace Survey.Model.EntriesEntities
{
    public class School 
    {
        public School()
        {
            Id = Guid.NewGuid();
        }
        
        public virtual Guid Id { get; private set; }
        public virtual String Name { get; set; }
        public virtual String Adress { get; set; }
        public virtual String ZipCode { get; set; }
        public virtual String Neighborhood { get; set; }
        public virtual String City { get; set; }
        public virtual String State { get; set; }
        public virtual String Phone { get; set; }
        public virtual String Fax { get; set; }
        public virtual String ExpedientBegin { get; set; }
        public virtual String ExpedientEnd { get; set; }
        public virtual int SchoolType { get; set; }
        public virtual Director Director { get; set; }
        public virtual Student Student { get; set; }

        private IList<StudentClass> _studentClasses = new List<StudentClass>();
        public virtual IList<StudentClass> StudentClass
        {
            get { return _studentClasses; }
            set { _studentClasses = value; }
        }

        private IList<Teacher> _teachers = new List<Teacher>();
        public virtual IList<Teacher> Teacher
        {
            get { return _teachers; }
            set { _teachers = value; }
        }
    }
}
